<div class="holder">
	<div class="box">
		<div class="title"> 
			<h2>添加图书</h2> 
			<img class="toggle" src="<?php echo $Theme_Root?>/images/title-hide.gif"> 
		</div>
		<div class="content forms">
			<form action="" method="post" enctype="multipart/form-data">
				<div class="row">
					<label>图书名称:</label> 
					<input name="name" type="text" class="small" />
				</div>
				<div class="row">
					<label>作者:</label> 
					<select name="author_id"> 
						<option value="0">选择作者</option>
						<?php 
							foreach($author as $a){
								echo '<option value="'.$a['author_id'].'">'.$a['author_name'].'</option>';
							}
						?>
					</select>
				</div>
				<div class="row"> 
					<label>分类:</label> 
					<select name="category_id"> 
						<option value="0">选择分类</option>
						<?php 
							echo $category_tree;
						?>
					</select>
				</div>
				<div class="row">
					<label>图书内容结构:</label> 
					<select name="structure_type">
					<?php foreach($book_structure as $structure){?>
						<option value="<?php echo $structure['structure_id'];?>"><?php echo $structure['structure_name'];?></option>
					<?php }?>
					</select>
				</div>
				
				<div class="row"> 
					<label>封面图片:</label> 
					<input name="cover" class="file_1" type="file" />
				</div>
				
				<div class="row">
					<label>图书简介:</label> 
					<textarea name="abstract"></textarea>
				</div>
				<div class="row">
					<input type="hidden" name="dosubmit" value="yes" />
					<button type="submit" class="button-normal"><span>添加</span></button>
				</div>
			</form>
		</div>
	</div>
</div>